import {
    createSSRApp
} from "vue";
import App from "./App.vue";
// 引入uv-ui
import uvUI from '@climblee/uv-ui';
// 引入自定义工具函数
import tools from "./tools/tools";
// 引入封装请求服务
import request from "./services/request";

export function createApp() {
    const app = createSSRApp(App);
    // 挂载uv-ui
    app.use(uvUI);
    // 挂载工具函数
    app.use(tools);
    request(app);
    return {
        app,
    };
}
